projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a67e885
)
mountoperation: fix previous commit
author
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 18 Sep 2012 17:48:07 +0000
(13:48 -0400)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Tue, 18 Sep 2012 17:48:07 +0000
(13:48 -0400)
We don't want to call this method if there's no shell agent.
gtk/gtkmountoperation.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmountoperation.c
b/gtk/gtkmountoperation.c
index 47b7ff22b39f2ac3e285044a75fa737300048983..ed9178ae07c582bc0b0a07706816eedf57e75f4e 100644
(file)
--- a/
gtk/gtkmountoperation.c
+++ b/
gtk/gtkmountoperation.c
@@
-202,7
+202,8
@@
gtk_mount_operation_init (GtkMountOperation *operation)
g_clear_object (&operation->priv->handler);
g_free (name_owner);
- g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (operation->priv->handler), G_MAXINT);
+ if (operation->priv->handler)
+ g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (operation->priv->handler), G_MAXINT);
}
static void